var inteInquire = new Vue({
    el:'#inteInquire',
    data:{
        /*查询第一部分的定义*/
        ruleForm:{
            names:'',
            busNumber:'',
        },

        lists:[],

    },
    methods: {
        inquireIntegral:function () {
            var _this = this;
            $.post("/repair_order/inquire_integral",{name:_this.ruleForm.names,car:_this.ruleForm.busNumber},function (ruleForm) {
               _this.lists = ruleForm.data;
            })
        }
    },
    created:function(){
        var _this = this;
        $.post("/repair_order/inquire_integral",{name:_this.ruleForm.names,car:_this.ruleForm.busNumber},function (ruleForm) {
            _this.lists = ruleForm.data;

        })

    }
});